package cn.kgc.mybatis.entity;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Emp implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer eid;
    private String ename;
    private Integer deptno;
    private Integer age;

    //员工所在的部门
    private  Dept dept;

}